package com.edu.exam.enums.quality.monitoring;

import com.edu.exam.enums.core.BaseEnum;

/**
 * 违规紧急程度枚举
 */
public enum ViolationUrgencyLevel implements BaseEnum {
    LOW("LOW", "低"),
    MEDIUM("MEDIUM", "中"),
    HIGH("HIGH", "高"),
    CRITICAL("CRITICAL", "严重"),
    URGENT("URGENT", "紧急"),
    IMMEDIATE("IMMEDIATE", "立即"),
    NORMAL("NORMAL", "正常"),
    MINOR("MINOR", "轻微"),
    MAJOR("MAJOR", "重要"),
    EMERGENCY("EMERGENCY", "紧急情况");

    private final String code;
    private final String description;

    ViolationUrgencyLevel(String code, String description) {
        this.code = code;
        this.description = description;
    }

    @Override
    public String getCode() {
        return code;
    }

    @Override
    public String getDescription() {
        return description;
    }
}
